package com.javacoo.xservice.example.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.javacoo.xservice.base.AbstractNonParamController;
import com.javacoo.xservice.example.service.ExampleService;

/**
 * 获取案例数据接口,无参数
 * <p>说明:</p>
 * <li></li>
 * @author DuanYong
 * @since 2017年7月17日上午9:02:56
 */
@RestController
@RequestMapping(value = "/example/v1/getNonParamExampleInfo")
public class ExampleNonParamController extends AbstractNonParamController {
	/** 数据服务 */
	@Autowired
	private ExampleService exampleService;
	@Override
	public Object process() {
        return exampleService.getExampleInfo("1");
	}
}
